<!-- @author:褚政欣 2020-08-25 -->
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>角色设置</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${basePath!}/genius/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" href="${basePath!}/genius/style/admin.css"
          media="all">
    <style>

        .layui-card-body {
            /*			height:1000px; */
        }

        .ew-tree-table-group .ew-tree-table-box {
            overflow: auto;
            max-height: 700px;
        }
    </style>
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-row layui-col-space10">
                <div class="layui-fluid layui-col-md3">
                    <div class="layui-card">
                        <table id="LAY-role-list" lay-filter="LAY-role-list"></table>
                        <script type="text/html" id="statusTpl">
                            {{#  if(d.classflag == '0'){ }}
                            <span style="color:green">启用</span>
                            {{#  } else { }}
                            <span style="color:#ddd">禁用</span>
                            {{#  } }}
                        </script>
                    </div>
                </div>


                <div class="layui-fluid layui-col-md9" >
                    <div class="layui-card" id="form" hidden>
                        <div class="layui-form layuiadmin-card-header-auto"
                             style="padding-bottom: 5px;margin-top: 10px; padding-left: 10px;">
                            <button class="layui-btn layui-btn-warm layuiadmin-btn-admin" data-type="save"><i
                                    class="layui-icon layui-icon-ok"></i>保存
                            </button>
                            <button class="layui-btn layui-btn-danger layuiadmin-btn-admin"  data-type="backtable"><i class="layui-icon layui-icon-return"></i>返回</button>
                            <!--<button class="layui-btn layui-btn-primary layuiadmin-btn-admin" name="systemname" id="systemname">已选择系统:</button>-->
                        </div>
                        <div class="layui-card-body" id="body2">
                            <div class="layui-tab layui-tab-card">
                                <ul class="layui-tab-title">
                                    <li class="layui-this">价格设置</li>
                                </ul>

                                <div class="layui-own-border" id="layui-own-border">
                                    <form class="layui-form" action="" lay-filter="form1">
                                        <div class="mode1">
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">所选系统</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="system" id="system"
                                                               readonly autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">价格类型</label>
                                                    <div class="layui-input-block" style="width: 218px;">
                                                        <select name="type" id="type">
                                                            <option value="0">标准价</option>
                                                            <option value="1">区域价</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label layui-required">零售价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="price" id="price"
                                                               lay-verify="required|num" placeholder="请输入"
                                                               autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">会员价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="memberprice" id="memberprice"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label">会员价精度</label>
                                                    <div class="layui-input-block" style="width: 218px;">
                                                        <select name="memberdegree" lay-filter="memberdegree" id="memberdegree">

                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">会员折扣率</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="memberdiscount" id="memberdiscount"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">批发价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="tradeprice" id="tradeprice"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline" >
                                                    <label class="layui-form-label ">批发价精度</label>
                                                    <div class="layui-input-block" style="width: 218px;">
                                                        <select name="tradedegree"  lay-filter="tradedegree"id="tradedegree">

                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">批发折扣率</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="tradediscount" id="tradediscount"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">销项税</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="saletaxrate" id="saletaxrate"
                                                               lay-verify="required|num" placeholder="请输入"
                                                               autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">最新进价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="inprice" id="inprice"
                                                               lay-verify="required|num" placeholder="请输入"
                                                               autocomplete="off" class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">

                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">配送价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="sendprice" id="sendprice"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                                    <div class="layui-inline">
                                                        <label class="layui-form-label ">配送加价率</label>
                                                        <div class="layui-input-block">
                                                            <input type="text" name="sendpricediscount" id="sendpricediscount"
                                                                   lay-verify="num" placeholder="请输入" autocomplete="off"
                                                                   class="layui-input">
                                                        </div>
                                                    </div>
                                                <div class="layui-inline">
                                                    <label class="layui-form-label ">拼团价</label>
                                                    <div class="layui-input-block">
                                                        <input type="text" name="groupprice" id="groupprice"
                                                               lay-verify="num" placeholder="请输入" autocomplete="off"
                                                               class="layui-input">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-form-item layui-hide">
                                            <input type="button" lay-submit lay-filter="save" value="确认">
                                        </div>

                                        <div class="clearfix"></div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-card" id="table" style="padding-bottom: 5px;margin-top: 10px; padding-left: 10px;">
                        <table id="goods_order_table" lay-filter="goods_order_table"></table>
                    </div>
                </div>

                <div class="clearfix"></div>

            </div>
        </div>
    </div>
</div>
<script type="text/html" id="opeTable">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="${basePath!}/genius/layui/layui.js"></script>
<script>
    //   layui.config({
    //     base: '${basePath!}/genius/' //静态资源所在路径
    //     ,host:'${basePath!}'//项目访问路径
    //   }).extend({
    //     index: 'lib/index' //主入口模块
    //     ,role:'/adminmanager/role'
    //   }).use(['index','role']);
    layui.config({
        base: '${basePath!}/genius/'
        , host: '${basePath!}'//项目访问路径
    }).extend({
        index: 'lib/index'
        , edit: 'unite_platform/goods_system_price/index'
    }).use(['index', 'edit'], function () {
        var $ = layui.$
            , edit = layui.edit;
        var parentJson = {};
        parentJson.classname = "${RequestParameters["classname"]}";
        parentJson.bakUrl = "${RequestParameters["bakUrl"]}";
        parentJson.currentMenuId = "${RequestParameters["currentMenuId"]}";
        edit.setParentJson(parentJson);
    });
</script>
</body>
</html>